package com.hframe.plugin.wechat;

/**
 * Created by heqian on 17-9-19.
 */
enum EnumError {
    Error(-2, "未知错误"),
    System_Is_Busy(-1, "系统繁忙，此时请开发者稍候再试"),
    Success(0, "请求成功");
    private int errode;
    private String errmsg;

    EnumError(int errode, String errmsg) {
        this.errode = errode;
        this.errmsg = errmsg;
    }

    public int getErrode() {
        return errode;
    }

    @Override
    public String toString() {
        return errmsg;
    }


}
